<?php

namespace Home\Model;

use Think\Model;

class AddressModel extends Model
{
    protected $_validate = array(
    	array('postalcode','6','邮政编码长度为6位',0,'length'),
    	array('phone','/[0-9-()（）]{7,18}/','电话号码格式错误',0,'regex'),
    	array('mobel_phone','/0?(13|14|15|18)[0-9]{9}/','手机号码格式错误',0,'regex'),
    	);
}
